﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Caray.Site.Core.Entities;

namespace Caray.Site.Core.Repositories
{
    public class PagesRepository
    {
        #region Singleton
        private PagesRepository()
        { }
        private static PagesRepository _current;
        public static PagesRepository Current
        {
            get
            {
                if (_current == null)
                    _current = new PagesRepository();

                return _current;
            }
        }
        #endregion

        public void Add(Page page)
        {
        
        }

        public void Update(Page page)
        {
        
        }

        public Page Get(string pageId)
        {
            return new Page();
        }

        public List<Page> GetAll()
        {
            return null;
        }

        public void Delete(string pageId)
        { 
        
        }
    }
}
